package cn.iocoder.yudao.module.biz.controller.admin.htHiddentrouble.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel("管理后台 - 隐患信息 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class HtHiddentroubleRespVO extends HtHiddentroubleBaseVO {

    @ApiModelProperty(value = "主键", required = true)
    private String id;

    //-------------隐患整改相关属性---------
    @ApiModelProperty(value = "流程主键", required = true)
    @NotNull(message = "流程主键不能为空")
    private String flowId;

    @ApiModelProperty(value = "整改期限")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date rectificationLimit;

    @ApiModelProperty(value = "整改类型")
    private String rectificationType;

    @ApiModelProperty(value = "整改责任部门")
    private String rectificationDeptId;

    @ApiModelProperty(value = "整改责任人")
    private Long rectificationPeoId;
}
